import typing as T


from ..init import AopMap


def Log(func: T.Callable):
    className = getattr(func, "__module__")
    methodName = getattr(func, "__name__")
    methodParams = str(getattr(func, "__annotations__"))
    AopMap[func] = (className, methodName, methodParams)
    return func
